package com.trip.util;


import org.jooq.util.DefaultGeneratorStrategy;
import org.jooq.util.Definition;

/**
 * @author hc24
 * @version 2017/9/28
 */
public class MyGeneratorStrategy extends DefaultGeneratorStrategy {
    @Override
    public String getJavaClassName(Definition definition, Mode mode) {
        if(Mode.POJO==mode){
            return super.getJavaClassName(definition,mode)+"Domain";
        }
        return super.getJavaClassName(definition, mode);
    }
}
